package com.github.wxiaoqi.security.common.msg;

/**
 * Created by ace on 2017/8/23.
 */
public class BaseResponse {
	private int status = 200;
	private String message;
	private boolean sucess;
	private String code;

	public BaseResponse(int status, String message) {
		this.status = status;
		this.message = message;
	}

	
	public BaseResponse(String code, String message,boolean sucess) {
		this.sucess = sucess;
		this.code = code;
		this.message = message;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}


	public boolean isSucess() {
		return sucess;
	}

	public void setSucess(boolean sucess) {
		this.sucess = sucess;
	}

	public BaseResponse() {
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

}
